package vn.bang.xiangqi.server.log;

public class Log {

	static public void info(Exception exception) {
		System.out.println(exception.getMessage());
	}
	
	static public void error(Exception exception) {
		System.err.println(exception.getMessage());
	}
	
	static public void debug(Exception exception) {
		System.out.println(exception.getMessage());
	}
	
	static public void warn(Exception exception) {
		System.out.println(exception.getMessage());
	}
	
	
	static public void info(String logMessage) {
		System.out.println(logMessage);
	}
	
	static public void error(String logMessage) {
		System.err.println(logMessage);
	}
	
	static public void debug(String logMessage) {
		System.out.println(logMessage);
	}
	
	static public void warn(String logMessage) {
		System.out.println(logMessage);
	}
	
	
	static public void info(String logMessage, Exception exception) {
		System.out.println(logMessage + " " + exception.getMessage());
	}
	
	static public void error(String logMessage, Exception exception) {
		System.err.println(logMessage + " " + exception.getMessage());
	}
	
	static public void debug(String logMessage, Exception exception) {
		System.out.println(logMessage + " " + exception.getMessage());
	}
	
	static public void warn(String logMessage, Exception exception) {
		System.out.println(logMessage + " " + exception.getMessage());
	}
	
}
